<?php
namespace app\admin\validate;

use think\Validate;

class PrintTemp extends Validate
{
    protected $rule = [
        'name' => 'require',
        'temp_url' => 'require',
        'conf_id' => 'require'
    ];
    
    protected $message = [
        'name.require' => '办件结果名称不能为空！',
        'temp_url.require' => '办件结果模板地址不能为空！',
        'conf_id.require' => '缺少关键参数，操作失败！'
    ];
}


